import { MockMethod } from "vite-plugin-mock"

export default [
  {
    url: "/dev-api/tabs/list",
    timeout: 2000,
    method: "get",
    response: () => {
      return {
        "code": 20000,
        "message": "获取标签成功",
        "data": {
          "activeTabs": [
            {
              path: '/home',
              name: 'home',
              label: '首页',
              icon: 'home',
            }
          ]
        }
      }
    }
  },
] as MockMethod[]